package iedcyt.acute.businessServices.endnote.RECNode;

import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

public class UtNODE extends AbsNode {

	public UtNODE() {
		_nodeName = "ut";
		
	}
	
	@Override
	protected void extractElementValue(Node node)
	{
	      Element utElmnt = (Element) node;
	      if (utElmnt.getTextContent().toLowerCase().contains("<b>"))
	      {
	    	  NodeList bnodes = utElmnt.getElementsByTagName("b");
	    	  Element bElmnt = (Element) bnodes.item(0);
	    	  _value = bElmnt.getTextContent();
	      }
	      else _value = utElmnt.getTextContent();
	}

	@Override
	protected void extractElementAttributes(Node node) {
		
		
	}

	@Override
	protected void extractElementSubNodes(Node node) {
		
		
	}

	

	
}
